package com.dfrz.bookstore.service;

import com.dfrz.bookstore.entry.BookType;
import java.util.List;

/**
 * 类功能描述:
 *
 * @Author keyan
 * @Date 2021/5/19 10:09
 */
public interface BookTypeService {
    /**
     * 添加图书分类
     * @param bookType
     */
    void inertBookType(BookType bookType);

    /**
     * 通过id删除图书类别
     * @param id
     */
    void delectBookTypeById(int id);

    /**
     * 更新图书图书类别
     * @param bookType
     */
    void upDataBookType(BookType bookType);

    /**
     * 查找全部类别
     * @return
     */
    List<BookType> findAllBookType();
}
